﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master"
    Inherits="System.Web.Mvc.ViewPage<Entity.PagedList<Entity.Car_Rental.Product>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    产品展示
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="block">
        <div class="Title">
            <span class="BlueTitle">产品展示</span>
        </div>
        <table width="100%" class="c_liebaosf-er">
            <tbody>
                <%
                    if (Model != null && Model.Count > 0)
                    {
                        foreach (var i in Model)
                        {
                       
                %>
                <tr>
                    <td width="150">
                        <img style="width: 120px; height: 90px;" src="<%=i.SmallImage %>" name="res_picture"
                            alt="">
                    </td>
                    <td width="120">
                        <h3>
                            <%=i.ProductName%> </h3>
                    </td>
                </tr>
                <%
                       
                        }
                    } 
                %>
            </tbody>
            <tfoot>
                <tr>
                    <td colspan="4">
                        <%=Html.Pager(Model) %>
                    </td>
                </tr>
            </tfoot>
        </table>
    </div>
</asp:Content>
